import request from "@/utils/request";

export const getOrdersListApi = (params) => {
  return request({
    method: "GET",
    url: "/private/v1/orders",
    params,
  });
};

export const getOrderInfoApi = (id) => {
  return request({
    method: "GET",
    url: "/private/v1/orders/" + id,
  });
};

export const editOrderInfoApi = (id, data) => {
  return request({
    method: "PUT",
    url: "/private/v1/orders/" + id,
    data,
  });
};

export const showProgressApi = () => {
  return request(`/private/v1/kuaidi/1106975712662`);
};
